package com.histone.heartbeat.dao;

import com.histone.heartbeat.pojo.ContactVerifyEntity;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ContactVerifyDao extends CrudRepository<ContactVerifyEntity, String>{
    public List<ContactVerifyEntity> findAllByUseridAndContact(String userid, String contact);
}
